package com.zyg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@TableName("sys_major")
@AllArgsConstructor
@NoArgsConstructor
public class Major {
    @TableId(value = "major_id", type = IdType.AUTO)
    private Integer majorId;

    private String major;
}
